

<!DOCTYPE html>
<html lang="en">
   <head>
      <!-- BEGIN META -->
	  <meta charset="utf-8">
      <meta name="viewport" content="width=device-width, initial-scale=1.0">
      <meta name="description" content="">
      <meta name="author" content="Olive Enterprise">
	  <!-- END META -->
     
      <!-- BEGIN SHORTCUT ICON -->
	  <link rel="shortcut icon" href="img/favicon.ico">
	  <!-- END SHORTCUT ICON -->
      <title>会议编辑</title>
	  <!-- BEGIN STYLESHEET-->
		<link href="__PUBLIC__/Admin/css/bootstrap-3.3.4.css" rel="stylesheet"><!-- BOOTSTRAP CSS -->
		<link href="__PUBLIC__/Admin/css/bootstrap-reset.css" rel="stylesheet"><!-- BOOTSTRAP CSS -->
		<link href="__PUBLIC__/Admin/css/font-awesome.4.6.0.css" rel="stylesheet"><!-- FONT AWESOME ICON STYLESHEET -->
		<link href="__PUBLIC__/Admin/css/style.css" rel="stylesheet"><!-- THEME BASIC CSS -->
		<link href="__PUBLIC__/Admin/css/style-responsive.css" rel="stylesheet"><!-- THEME BASIC RESPONSIVE  CSS -->
		<link href="__PUBLIC__/Admin/css/jquery.stepy.css" rel="stylesheet"><!-- JQUERY STEPY WIZARD CSS -->
      <link href="__PUBLIC__/Admin/layui/src/css/layui.css" rel="stylesheet">

        <link rel="stylesheet" type="text/css" href="__PUBLIC__/Admin/assets/bootstrap-datepicker/css/datepicker.css"><!-- BOOTSTRAP DATEPICKER PLUGIN CSS -->
<link rel="stylesheet" type="text/css" href="__PUBLIC__/Admin/assets/bootstrap-timepicker/compiled/timepicker.css"><!-- BOOTSTRAP TIMEPICKER PLUGIN CSS -->
<link rel="stylesheet" type="text/css" href="__PUBLIC__/Admin/assets/bootstrap-colorpicker/css/colorpicker.css"><!-- BOOTSTRAP COLORPICKER PLUGIN CSS -->
<link rel="stylesheet" type="text/css" href="__PUBLIC__/Admin/assets/bootstrap-daterangepicker/daterangepicker-bs3.css"><!-- DATERANGE PLUGIN CSS -->
<link rel="stylesheet" type="text/css" href="__PUBLIC__/Admin/assets/bootstrap-datetimepicker/css/datetimepicker.css"><!-- DATETIMEPICKER PLUGIN CSS -->
<link rel="styleshee"
      <!--[if lt IE 9]>
      <script src="js/html5shiv.js"></script>
      <script src="js/respond.min.js"></script>
      <![endif]-->
	  <!-- END STYLESHEET-->
   </head>
   <body>
      <!-- BEGIN SECTION -->
      <section id="container" class="">
	  <!-- BEGIN HEADER -->
         <header class="header white-bg">
         <!-- SIDEBAR TOGGLE BUTTON -->
			<div class="sidebar-toggle-box">
			  <div  data-placement="right" class="fa fa-bars tooltips">
			  </div>
			</div>
        <!-- SIDEBAR TOGGLE BUTTON  END-->
            <a href="{:U('Admin/Index/index')}" class="logo">会议编辑</a>
                <!-- START HEADER  NAV -->
        
        <nav class="nav notify-row" id="top_menu">
          
   
          </ul>
          
          
        </nav>
        
        <!-- END HEADER NAV -->
        
        
        <!-- START USER LOGIN DROPDOWN  -->
            <div class="top-nav ">
               <ul class="nav pull-right top-menu">
                  <li class="dropdown">
                     <a data-toggle="dropdown" class="dropdown-toggle" href="#">
                     <span class="username">退出</span>
                     </a>
                  </li>
               </ul>
            </div>
			<!-- END USER LOGIN DROPDOWN  -->
         </header>
		 <!-- END HEADER -->
		 <!-- BEGIN SIDEBAR -->
         <aside>
            <div id="sidebar" class="nav-collapse">
               <ul class="sidebar-menu" id="nav-accordion">
                  <li>
                     <a href="{:U('Admin/Index/index')}">
                     <i class="fa fa-dashboard"></i>
                     <span>会议室添加</span>
                     </a>
                  </li>
                   <li>
                     <a href="{:U('Admin/Index/lists')}">
                     <i class="fa fa-dashboard"></i>
                     <span>会议室列表</span>
                     </a>
                  </li>
               </ul>
            </div>
         </aside>
		 <!-- END SIDEBAR -->
		 <!-- BEGIN MAIN CONTENT -->
         <section id="main-content">
		    <!-- BEGIN WRAPPER  -->
            <section class="wrapper site-min-height">
			    <!-- BEGIN ROW -->
               <div class="row">
                  <div class="col-md-12">
                     <section class="panel">
                        <header class="panel-heading">
                           <span class="label label-primary">会议室管理</span>
                           <span class="tools pull-right">
                           <a href="javascript:;" class="fa fa-chevron-down"></a>
                          
                           </span>
                        </header>
                        <div class="panel-body">
                           <div class="square-widget">
                              <div class="widget-container">
                                 <div class="stepy-tab">
                                 </div>
                                 <form  class="form-horizontal" method="post" action="">
                                           <legend></legend>
                                           <div class="form-group">
                                              <label class="col-md-2 col-sm-2 control-label">会议室名称</label>
                                              <div class="col-md-6 col-sm-6">
                                                 <input type="text" placeholder="<?php echo $data['name'];?>" class="form-control" name="name">
                                              </div>
                                           </div>
                                           <div class="form-group">
                                              <label class="col-md-2 col-sm-2 control-label">会议室地点</label>
                                              <div class="col-md-6 col-sm-6">
                                                 <input type="text" placeholder="<?php echo $data['site'];?>" class="form-control" name="site">
                                              </div>
                                           </div>
                                           <div class="form-group">
                                              <label class="col-md-2 col-sm-2 control-label">可容纳人数</label>
                                              <div class="col-md-6 col-sm-6">
                                                 <input type="text" placeholder="<?php echo $data['contain_body'];?>" class="form-control" name="contain_body">
                                              </div>
                                           </div>
                                           <div class="form-group">
                                              <label class="col-md-2 col-sm-2 control-label">会议室备注</label>
                                              <div class="col-md-6 col-sm-6">
                                                 <input type="text" placeholder="<?php echo $data['intro'];?>" class="form-control" name="intro">
                                              </div>
                                           </div>
                                             <div class="form-group ">
                                    <label for="agree" class="control-label col-lg-2 col-sm-3">会议室可用时间上午</label>
                                    <div class="col-lg-10 col-sm-9">
                                         <input type="text" placeholder="<?php echo substr($time[0],7);?>" class="form-control" name="use_time0">
                                    </div>
                                 </div>
                                 <div class="form-group ">
                                    <label for="newsletter" class="control-label col-lg-2 col-sm-3">会议室可用时间下午</label>
                                    <div class="col-lg-10 col-sm-9">
                                        <input type="text" placeholder="<?php echo substr($time[1],7);?>" class="form-control" name="use_time1">
                                    </div>
                                 </div>
                                  <div class="form-group ">
                                    <label for="newsletter" class="control-label col-lg-2 col-sm-3">会议室可用时间晚上</label>
                                    <div class="col-lg-10 col-sm-9">
                                         <input type="text" placeholder="<?php echo substr($time[2],7);?>" class="form-control" name="use_time2">
                                    </div>
                                 </div>


                                 <div class="form-group">
                              <label class="control-label col-md-4">
                                会议室可用时间上午
                              </label>
                              <div class="col-md-4">
                                <div class="input-group input-large" data-date="13/07/2013" data-date-format="hh/mm/dd/yyyy">
                                  <input size="16" type="text" class="form-control form_datetime" name="from" placeholder="2017-05-10 10:50" >
                                  <span class="input-group-addon">
                                    到
                                  </span>
                                  <input type="text" class="form-control form_datetime" name="to">
                                </div>
                              </div>
                            </div>

                             <div class="form-group">
                              <label class="control-label col-md-4">
                                会议室可用时间下午
                              </label>
                              <div class="col-md-4">
                                <div class="input-group input-large" data-date="13/07/2013" data-date-format="hh/mm/dd/yyyy">
                                  <input size="16" type="text" class="form-control form_datetime" name="from" placeholder="2017-05-10 10:50">
                                  <span class="input-group-addon">
                                    到
                                  </span>
                                  <input type="text" class="form-control form_datetime" name="to">
                                </div>
                              </div>
                            </div>

                             <div class="form-group">
                              <label class="control-label col-md-4">
                                会议室可用时间晚上
                              </label>
                              <div class="col-md-4">
                                <div class="input-group input-large" data-date="13/07/2013" data-date-format="hh/mm/dd/yyyy">
                                  <input size="16" type="text" class="form-control form_datetime" name="from" placeholder="2017-05-10 10:50">
                                  <span class="input-group-addon">
                                    到
                                  </span>
                                  <input type="text" class="form-control form_datetime" name="to">
                                </div>
                              </div>
                            </div>
                                 <input type="hidden" value="<?php echo $data['id'];?>" name="id">
                                 <div class="form-group ">
                                    <label for="newsletter" class="control-label col-lg-2 col-sm-3">会议室可用状态</label>
                                    <div class="col-lg-10 col-sm-9">
                                    <label class="label_radio" for="radio-01">
                                       <input name="type" id="radio-01" value="1" type="radio" />可用
                                    </label>
                                      &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                                    <label class="label_radio" for="radio-01">
                                       <input name="type" id="radio-02" value="0" type="radio"  /> 不可用
                                    </label>
                                    </div>
                                </br>
                                   </br>
                                    </br>
                                     </br>
                                   <div class="form-group">
                                    <div class="col-lg-offset-2 col-lg-10">
                                       <button class="btn btn-primary" type="submit">确认提交</button>
                                       <button class="btn btn-default" type="reset">重新填写</button>
                                  </div>
                                 </form>
                              </div>
                           </div>
                        </div>
                     </section>
                  </div>
               </div>
            </section>
			<!-- END WRAPPER  -->
         </section>
		 <!-- END MAIN CONTENT -->
         <!-- BEGIN FOOTER -->
		 <footer class="site-footer">
            <div class="text-center">
               2017 &copy; 会以助手 <a href="" target="_blank">会议管理助手</a>
               <a href="#" class="go-top">
               <i class="fa fa-angle-up"></i>
               </a>
            </div>
         </footer>
		 <!-- END  FOOTER -->
      </section>
	  <!-- END SECTION -->
	  <!-- BEGIN JS -->
		<script src="__PUBLIC__/Admin/js/jquery.js" ></script><!-- BASIC JS LIABRARY -->
		<script src="__PUBLIC__/Admin/js/bootstrap.min.js" ></script><!-- BOOTSTRAP JS  -->
		<script src="__PUBLIC__/Admin/js/jquery.dcjqaccordion.2.7.js"></script><!-- ACCORDING JS -->
		<script src="__PUBLIC__/Admin/s/jquery.scrollTo.min.js" ></script><!-- SCROLLTO JS  -->
		<script src="__PUBLIC__/Admin/js/jquery.nicescroll.js" > </script><!-- NICESCROLL JS  -->
		<script src="__PUBLIC__/Admin/js/respond.min.js" ></script><!-- RESPOND JS  -->
		<script src="__PUBLIC__/Admin/js/common-scripts.js" ></script><!-- BASIC COMMON JS  -->
		<script src="__PUBLIC__/Admin/js/jquery.stepy.js" ></script><!-- JQUERY STEPY WIZARD JS  -->
		<script src="__PUBLIC__/Admin/js/jquery.validate.min.js"></script><!-- VALIDATE JS  -->
        
                           <script src="js/jquery.js" ></script><!-- BASIC JS LIABRARY -->
    <script src="__PUBLIC__/Admin/js/bootstrap.min.js" ></script><!-- BOOTSTRAP JS  -->
    <script src="__PUBLIC__/Admin/js/jquery.dcjqaccordion.2.7.js"></script><!-- ACCORDING JS -->
    <script src="__PUBLIC__/Admin/js/jquery.scrollTo.min.js" ></script><!-- SCROLLTO JS  -->
    <script src="__PUBLIC__/Admin/js/jquery.nicescroll.js" > </script><!-- NICESCROLL JS  -->
    <script src="__PUBLIC__/Admin/js/respond.min.js" ></script><!-- RESPOND JS  -->
    <script src="__PUBLIC__/Admin/assets/fuelux/js/spinner.min.js"></script><!-- FUELUX JS  -->
    <script src="__PUBLIC__/Admin/assets/bootstrap-fileupload/bootstrap-fileupload.js"></script><!-- BOOTSTRAP FILEUPLOAD JS  -->
    <script src="__PUBLIC__/Admin/assets/bootstrap-wysihtml5/wysihtml5-0.3.0.js"></script><!-- BOOTSTRAP wysihtml5 JS  -->
    <script src="__PUBLIC__/Admin/assets/bootstrap-wysihtml5/bootstrap-wysihtml5.js"></script><!-- BOOTSTRAP wysihtml5 JS  -->
    <script src="__PUBLIC__/Admin/assets/bootstrap-datepicker/js/bootstrap-datepicker.js"></script><!-- BOOTSTRAP DATEPICKER JS  -->
    <script src="__PUBLIC__/Admin/assets/bootstrap-datetimepicker/js/bootstrap-datetimepicker.js"></script><!-- BOOTSTRAP DATETIMEPICKER JS  -->
    <script src="__PUBLIC__/Admin/assets/bootstrap-daterangepicker/moment.min.js"></script>
    <script src="__PUBLIC__/Admin/assets/bootstrap-daterangepicker/daterangepicker.js"></script><!-- BOOTSTRAP DATERANGEPICKER JS  -->
    <script src="__PUBLIC__/Admin/assets/bootstrap-colorpicker/js/bootstrap-colorpicker.js"> </script><!-- BOOTSTRAP COLORPICKER JS  -->
    <script src="__PUBLIC__/Admin/assets/bootstrap-timepicker/js/bootstrap-timepicker.js"></script><!-- BOOTSTRAP TIMEPICKER JS  -->
    <script src="__PUBLIC__/Admin/assets/jquery-multi-select/js/jquery.multi-select.js"></script><!-- BOOTSTRAP MULTISELECT JS  -->
    <script src="__PUBLIC__/Admin/assets/jquery-multi-select/js/jquery.quicksearch.js"></script><!-- BOOTSTRAP MULTISELECT JS  -->
    <script src="__PUBLIC__/Admin/js/common-scripts.js" ></script><!-- BASIC COMMON JS  -->
    <script src="__PUBLIC__/Admin/js/advanced-form-components.js" ></script><!-- ADVANCE FORM COMPONENTS PAGE JS  -->
    <script src="__PUBLIC__/Admin/assets/ckeditor/ckeditor.js"></script><!-- CKEDITOR JS  -->
    <script src="__PUBLIC__/Admin/layer/layer/layer.js" ></script><!-- JQUERY KNOB JS -->
      <script>

            $(function(){
              var id = "<?php echo $data['type']?>";
              if(id == 1){
                $('#radio-01').attr('checked','checked');
              }else if (id == 0){
                 $('#radio-02').attr('checked','checked');
              }
            })
      </script>
	  <!-- END JS -->
   </body>
</html>


